QuickOPC User's Guide and Reference
IsValid Property (UAMultiStateDiscreteNode<TValue,TAttribute>)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.DataAccess Namespace > UAMultiStateDiscreteNode<TValue,TAttribute> Class : IsValid Property
Determines whether the current value of the node is valid. Determines whether the current value of the node is valid.
Syntax
'Declaration
 
<DefaultValueAttribute(False)>
Public Overrides ReadOnly Property IsValid As Boolean
'Usage
 
Dim instance As UAMultiStateDiscreteNode(Of TValue,TAttribute)
Dim value As Boolean
 
value = instance.IsValid
[DefaultValue(false)]
public override bool IsValid {get;}
[DefaultValue(false)]
public:
property bool IsValid {
   bool get() override;
}
Remarks
The current value is considered valid when it is not negative, and is less than the count of the EnumStrings.
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also